"use strict";
const npmLog = require("npmlog");

npmLog.level = process.env.LOG_LEVEL ? process.env.LOG_LEVEL : "info"; // 判断debug模式
npmLog.heading = "unluna"; // 默认的开头
npmLog.headingStyle = {fg: "black", bg: `magenta`}; // 开头的颜色
npmLog.prefixStyle = {fg: "yellow"};

module.exports = npmLog;
